package com.yangjiayu;

import com.yangjiayu.utils.CustomTextSpliter;
import org.springframework.ai.transformer.splitter.TextSplitter;
import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;

/**
 * @Classname AiConfig
 * @Description TODO
 * @Date 2025/8/15 07:34
 * @Created by YangJiaYu
 */
@Configuration
public class AiConfig {
    @Bean
    public TextSplitter textSplitter() {
        return new CustomTextSpliter();
    }
}